﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ApplicationShell
{
    public partial class SalesManagerEntities
    {
        public int CurrentUserID()
        {
            var query = CreateQuery<int>("select value SalesManagerModel.Store.CurrentUserID() from {1}");
            return query.Execute(System.Data.Objects.MergeOption.NoTracking).FirstOrDefault();
        }
    }
}
